require_relative 'deadly_product_a'
require_relative 'deadly_product_b'
require_relative 'deadly_product_c'
require_relative 'deadly_product_d'

class DeadlyFactory
  @@instance = DeadlyFactory.new

  def self.instance
    @@instance
  end

  def create_product_A
    DeadlyProductA.new
  end

  def create_product_B
    DeadlyProductB.new
  end

  def create_product_C
    DeadlyProductC.new
  end

  def create_product_D
    DeadlyProductD.new
  end

  private_class_method :new
end